Style run attribute tag
|
Corresponding data type and size (in bytes)
|
Corresponding default value
|
kATSUQDBoldfaceTag
|
Boolean
|
1
|
false; plain text
|
kATSUQDItalicTag
|
Boolean
|
1
|
false; plain text
|
kATSUQDUnderlineTag
|
Boolean
|
1
|
false; plain text
|
kATSUQDCondensedTag
|
Boolean
|
1
|
false; plain text
|
kATSUQDExtendedTag
|
Boolean
|
1
|
false; plain text
|
kATSUFontTag
|
ATSUFontID
|
4
|
the application font for the current script system; you can determine this value by calling GetScriptVariable(smSystemScript,smScriptAppFond). If the application font cannot be rendered with ATSUI, the default font is Helvetica.
|
kATSUSizeTag
|
Fixed
|
4
|
the size of the application font for the current script system; you can determine this value by calling GetScriptVariable(smSystemScript,smScriptAppFondSize) and examining the low word of the return value
|
kATSUColorTag
|
RGBColor
|
6
|
(0, 0, 0); black text
|
kATSULanguageTag
|
RegionCode
|
2
|
the RegionCode of the system script; you can determine this value by calling GetScriptVariable(smSystemScript,smScriptLang)
|
kATSUVerticalCharacterTag
|
ATSUVerticalCharacterType
|
2
|
kATSUStronglyHorizontal; horizontally-oriented glyphs
|
kATSUImposeWidthTag
|
ATSUTextMeasurement
|
4
|
kATSUNoImposedWidth; use font-defined character width default value
|
kATSUBeforeWithStreamShiftTag
|
Fixed
|
4
|
0; use the font-defined with-stream shift default value before glyphs
|
kATSUAfterWithStreamShiftTag
|
Fixed
|
4
|
0; use the font-defined with-stream shift default value after glyphs
|
kATSUCrossStreamShiftTag
|
Fixed
|
4
|
0; use the font-defined cross-stream shift default value
|
kATSUTrackingTag
|
Fixed
|
4
|
0; use the font-defined tracking default value
|
kATSUHangingInhibitFactorTag
|
Fract
|
4
|
0; use the font-defined hanging glyph default value
|
kATSUKerningInhibitFactorTag
|
Fract
|
4
|
0; use the font-defined default kerning value
|
kATSUDecompositionFactorTag
|
Fixed
|
4
|
0; use the font-defined ligature decomposition default value
|
kATSUBaselineClassTag
|
ATSUFontID
|
4
|
kBSLNRomanBaseline; Roman baseline
|
kATSUPriorityJustOverrideTag
|
ATSJustWidthDeltaEntryOverride structure
|
20
|
0's in all fields; apply the font-defined justification priority behavior default values
|
kATSUNoLigatureSplitTag
|
Boolean
|
1
|
false; treat ligatures as divisible
|
kATSUNoCaretAngleTag
|
Boolean
|
1
|
false; use inherent angle of text to draw caret and highlighting
|
kATSUSuppressCrossKerningTag
|
Boolean
|
1
|
false; use the font-defined cross kerning default value
|
kATSUNoOpticalAlignmentTag
|
Boolean
|
1
|
false; use the font-defined optical alignment default value
|
kATSUForceHangingTag
|
Boolean
|
1
|
false; glyphs will not extend into the margin, even if they would normally do so
|
kATSUNoSpecialJustificationTag
|
Boolean
|
1
|
false; post compensation actions will occur if they are needed
|
kATSUMaxStyleTag
|
|
|
the maximum Apple-defined style run attribute tag value
|
kATSUMaxATSUITagValue
|
|
|
No Apple-defined tags may exceed this value. Apple-defined values between kATSUMaxStyleTag and kATSUMaxATSUITagValue are reserved. You can create you own attribute tags with any greater value.
|